package cn.tedu.antcolony.passport.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@MapperScan("cn.tedu.antcolony.passport.mapper")
//扫描该包下的类
@ComponentScan("cn.tedu.antcolony.passport.service")
//开启事务
@EnableTransactionManagement
public class MyBatisConfiguration {
}
